using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.RepositoryFactory.CodeGeneration.ObjectModel.Mappings;
using Microsoft.Practices.RepositoryFactory.SchemaDiscovery.ObjectModel.Base;

namespace Microsoft.Practices.RepositoryFactory.CodeGeneration.ObjectModel
{
    /// <summary/>
    public class DBTable : Table
    {
        #region Constructors
        public DBTable()
        {
            storedProcedureMappings = new List<TableStoredProcedureMapping>();
        }
        #endregion

        #region Properties
        private List<TableStoredProcedureMapping> storedProcedureMappings;

        /// <summary>
        /// Gets or sets the stored procedure mappings.
        /// </summary>
        /// <value>The stored procedure mappings.</value>
        public List<TableStoredProcedureMapping> StoredProcedureMappings
        {
            get { return storedProcedureMappings; }
            set { storedProcedureMappings = value; }
        } 
        #endregion
    }
}
